<?php
namespace Common\Library;

class NewsClassifyModel{

    public $id;

    public $name;

    public $detail;

    public $sid;

    /**
     * 得到当前分类所属的站点
     * @return SiteModel
     */
    public function getSite(){
        return SiteDao::FetchByID($this->sid);
    }

}